﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.LayeredRegion, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Region, "ScriptType"))

	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.LayeredRegion, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Region, "Function"))

	_DB:AddCodeHelp("GetDrawLayer", [=[Returns the layer at which the region's graphics are drawn relative to others in its frame]=], [=[GetDrawLayer()]=])
	_DB:AddCodeHelp("SetVertexColor", [=[Sets a color shading for the region's graphics]=], [=[SetVertexColor(red, green, blue [, alpha])]=])
	_DB:AddCodeHelp("SetDrawLayer", [=[Sets the layer at which the region's graphics are drawn relative to others in its frame]=], [=[SetDrawLayer("layer")]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.LayeredRegion, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Region, "Property"))

	_DB:AddCodeHelp("DrawLayer", [[the layer at which the region's graphics are drawn relative to others in its frame]], IGAS:GetPropertyType("DrawLayer"))
	_DB:AddCodeHelp("VertexColor", [[the color shading for the region's graphics]], IGAS:GetPropertyType("Color"))
end
